public class Salesforce2MobileController {
	public String Mobile{get;set;}
	public String Msg{get;set;}
	public String outputMsg{set;get;}
	public void sendMessage(){
		sjmillerconsultantsComSmsSend.SMSRequest myMsgRequest  = new sjmillerconsultantsComSmsSend.SMSRequest();
		sjmillerconsultantsComSmsSend.SMSRecipient myRecipient = new sjmillerconsultantsComSmsSend.SMSRecipient();
		sjmillerconsultantsComSmsSend.ArrayOfSMSRecipient myArrayRecipient = new sjmillerconsultantsComSmsSend.ArrayOfSMSRecipient();
		sjmillerconsultantsComSmsSend.SMSResponse myMsgResponse = new sjmillerconsultantsComSmsSend.SMSResponse(); 
		myRecipient.Number_x = this.Mobile;
		List<sjmillerconsultantsComSmsSend.SMSRecipient> myRecipientList =  new List<sjmillerconsultantsComSmsSend.SMSRecipient>(); 
		myRecipientList.add(myRecipient);
		myArrayRecipient.Recipient = myRecipientList;
		
		myMsgRequest.Message = this.Msg;
		myMsgRequest.Unicode = false;
		myMsgRequest.Sender ='Pratibh-Salesforce';
		myMsgRequest.MessageType = 'Normal text Message';
		myMsgRequest.Recipients = myArrayRecipient;
		
		String sXML='';
		sXML+= '<Message>'+this.Msg+'</Message>'+
        	   '<Unicode>'+'false'+'</Unicode>'+
        	   '<Sender>'+'Pratibh_SF'+'</Sender>'+
        	   '<MessageType>Text</MessageType>'+
        	   '<Recipients>'+
        	   		'<Recipient>'+
            			'<Number>'+this.Mobile+'</Number>'+
               		'</Recipient>'+
	               '<Recipient>'+
	               		'<Number>'+this.Mobile+'</Number>'+
	           	   '</Recipient>'+
	           '</Recipients>';
		
		sjmillerconsultantsComWebservices.SMSSoap sendObj = new sjmillerconsultantsComWebservices.SMSSoap();
		//sjmillerconsultantsComWebservices.SendResult_element myres = sendObj.Send(sXML);
		/*myMsgResponse= sendObj.QuickSend(myMsgRequest);*/
		Double val = sendObj.GetCreditBalance();
		outputMsg = String.valueOf(val);
		/*this.outputMsg = myMsgResponse.Message;*/
	}
}